﻿@{
    ViewBag.AreaName = "LightWeb Personal Finacial Analysis";
}
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.AreaName - @ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/admin.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <style type="text/css">
        .c_leftWidgets { margin-bottom: 10px; }
        .c_leftWidgetsTitle { height: 24px; background-color: #fff; border: 1px solid #ddd; background-repeat: no-repeat; background-position: 8px center; border: 1px solid #8d2a00; margin-right: 5px; }
        .c_leftWidgetsTitle span { display: inline-block; margin-left: 20px; margin-top: 3px; }
        .widgets-open { background-image: url("/images/demo-spindown-open.gif"); }
        .widgets-close { background-image: url("/images/demo-spindown-closed.gif"); }
        #ct_ContentWarpper .noneleftmargin { margin-left: 0px; }
    </style>
</head>
<body>
    @Html.Partial("_TopMenuPartial")
    <div id="ct_Temp">
    </div>
    <div id="ct_HeaderWarpper">
        <div class="title">
            @ViewBag.AreaName
        </div>
        <div id="ct_NavMenu">
            <ul class="liinlineul">
                <li id="rss">@Html.ActionLink("Stock", null, new { controller = "Stock" });</li>
                <li id="rss">@Html.ActionLink("CrieditCard", null, new { controller = "CrieditCard" });</li>

            </ul>
        </div>
    </div>
    <div id="ct_PageWarpper">
        <div id="ct_ContentWarpper">
            <div class="ct_LeftWarpper ">
            </div>
            <div class="ct_ArticalWarpper">
          
                @RenderBody()
            </div>
        </div>
    </div>
    <div id="ct_FooterLink">
    </div>
    <div id="ct_FooterWarpper">
        <hr />
        <div class="CopyRight">
            <span>© 2011-2011 LightWeb Studio</span>
        </div>
    </div>
</body>
</html>
<script type="text/javascript">
    $(function () {
        $('.c_leftWidgets').find(">.c_leftWidgetsTitle")
            .addClass("widgets-open")
            .click(function () { $(this).toggleClass("widgets-open").toggleClass("widgets-close").next().toggle(); })
            .end().find(".c_leftWidgetsContent").show();

        $("#searchSwitch").click(function () { $(".ct_searchinsite").toggleClass("hide"); });
        $("#leftSwitch").click(function () { $(".ct_LeftWarpper").toggleClass("hide"); $(".ct_ArticalWarpper").toggleClass("noneleftmargin"); });
    });
</script>
